FROM node:20.12.2-alpine
EXPOSE 8004

WORKDIR /app

COPY  package*.json ./

RUN npm  install

COPY . .

# 运行应用
CMD [ "node", "nsfwjs-server.js" ]
